package com.aspose.cells;

class zbad extends zazh {
   byte b;
   String c;
   CellArea d;
   int e;
   boolean f;
   boolean g;
   int h;
   int i;
   int j = -1;

   public int a() {
      return 9;
   }

   void a(boolean var1, boolean var2, boolean var3, boolean var4, int var5) {
      byte var6 = 0;
      boolean var7 = false;
      boolean var8 = false;
      boolean var9 = false;
      switch(var5) {
      case 0:
         var7 = true;
         break;
      case 1:
         var8 = true;
         var7 = true;
         break;
      case 2:
         var9 = true;
      case 3:
      default:
         break;
      case 4:
         var8 = true;
      }

      if (var9) {
         this.b = 38;
      } else if (var4) {
         var6 = (byte)(var7 ? 61 : 60);
      } else if (var1) {
         var6 = (byte)(var7 ? 59 : 58);
      } else if (var8) {
         var6 = (byte)(var7 ? 43 : 42);
      } else {
         var6 = (byte)(var7 ? 37 : 36);
      }

      if (var3) {
         var6 = (byte)(var6 | 64);
      }

      if (var2) {
         var6 = (byte)(var6 | 96);
      }

      this.b = var6;
   }

   static int a(boolean var0, boolean var1, boolean var2) {
      if (var2) {
         return 2;
      } else if (var1) {
         return var0 ? 1 : 4;
      } else {
         return var0 ? 0 : 3;
      }
   }

   boolean[] b() {
      boolean var1 = false;
      boolean var2 = false;
      boolean var3 = false;
      boolean var4 = false;
      boolean var5 = false;
      boolean var6 = false;
      boolean var7 = false;
      if ((this.b & 255 & 96) == 96) {
         var2 = true;
      } else if ((this.b & 255 & 64) == 64) {
         var3 = true;
      }

      switch(this.b) {
      case 36:
      case 39:
      case 40:
      case 41:
      case 44:
      case 45:
      case 46:
      case 47:
      case 48:
      case 49:
      case 50:
      case 51:
      case 52:
      case 53:
      case 54:
      case 55:
      case 56:
      case 57:
      default:
         break;
      case 37:
         var5 = true;
         break;
      case 38:
         var7 = true;
         var5 = true;
         break;
      case 42:
         var6 = true;
         break;
      case 43:
         var5 = true;
         var6 = true;
         break;
      case 58:
         var1 = true;
         break;
      case 59:
         var5 = true;
         var1 = true;
         break;
      case 60:
         var4 = true;
         var6 = true;
         break;
      case 61:
         var5 = true;
         var6 = true;
         var4 = true;
      }

      return new boolean[]{var1, var2, var3, var4, var5, var6, var7};
   }

   String c() {
      return CellsHelper.cellIndexToName(this.h, this.i);
   }

   void a(String var1) {
      byte var2 = 0;
      byte var3 = 0;
      int[] var4 = new int[]{var2};
      int[] var5 = new int[]{var3};
      CellsHelper.a(var1, var4, var5);
      int var6 = var4[0];
      int var7 = var5[0];
      this.h = var6;
      this.i = var7;
   }
}
